home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 33
/
Amiga Format AFCD33 (Issue 117, Dec 1998).iso
/
-seriously_amiga-
/
archivers
/
amignutar
/
src
/
sasinclude
/
ndir.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-09-07
|
709b
|
44 lines
/* Added since the Amiga version will not compile with SAS/C V6.55,
"ndir.h" couldn't be found.
On the other hand, some defines had been missing, so placing
the appropriate includes here was the best solution.
- AK, 28.3.95
Set S_IF... flags to NULL to get correct results for amiga (was hpw)
- AK, 23.7.95
*/
#ifndef NDIR_DUMMY
#define NDIR_DUMMY
#include <dos.h>
#include <sys/dir.h>
#ifndef _FILE_
#include <sys/file.h>
#endif /* _FILE_ */
struct direct
{
struct dirent x;
};
/* unimplemented signals yet... */
#include <signal.h>
#define SIGPIPE SIG_MAX
/* important */
#ifdef mkdir
#undef mkdir
#endif /* mkdir */
#define mkdir(x, y) mkdir(x)
#endif /* NDIR_DUMMY */